package com.htu.tax.entity;


import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TInvoice对象", description = "")
public class TInvoice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "发票申请号")
    private Long invoiceNum;

    @ApiModelProperty(value = "状态 1待开票 2已开票 3已驳回")
    private Integer state;

    @ApiModelProperty(value = "司机id")
    private Long driverId;

    @ApiModelProperty(value = "物流企业id")
    private Long companyId;

    @ApiModelProperty(value = "纳税人")
    private String taxpayer;

    @ApiModelProperty(value = "含税金额")
    private BigDecimal totalMoney;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

    @ApiModelProperty(value = "税额")
    private BigDecimal tax;

    @ApiModelProperty(value = "不含税金额")
    private BigDecimal excludingTaxMoney;

    @ApiModelProperty(value = "邮寄地址")
    private String address;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "已开票时间")
    private LocalDateTime agreeTime;

    @ApiModelProperty(value = "已驳回时间")
    private LocalDateTime refuseTime;


}

